<template>
  <div>
    <el-dialog :title="$t('会议详情')" :visible.sync="flag" :close-on-click-modal="false" :lock-scroll="false" custom-class="dialogForm" append-to-body>
      <mt-vote-form ref="mtVoteForm" />
    </el-dialog>
  </div>
</template>

<script>
import MtVoteForm from '@/views/deal/mt/vote/mtVoteForm.vue'

export default {
  components: { MtVoteForm },
  data() {
    return {
      flag: true
    }
  },
  created() {
    if (this.$route.query.voteId) {
      this.$nextTick(() => {
        this.$refs.mtVoteForm.init({ id: this.$route.query.voteId, showBtn: false })
      })
    }
  }
}
</script>

<style scoped>

</style>
